package com.redsoil.house.ui.property.contract;

import com.redsoil.house.model.bean.OnePropertyVO;
import com.redsoil.house.model.bean.RoomEarnVO;
import com.weidingqiang.rxfiflibrary2.base.BasePresenter;
import com.weidingqiang.rxfiflibrary2.base.BaseView;

import retrofit2.http.Header;
import retrofit2.http.Query;

/**
 * 作者：weidingqiang on 2017/9/7 15:36
 * 邮箱：dqwei@iflytek.com
 */

public interface PropertyIncomeContract {

    interface View extends BaseView {
        void getOnePropertySuccess(OnePropertyVO onePropertyVO);

        void getRoomEarnListSuccess(RoomEarnVO roomEarnVO);

        void responeError(String errorMsg);
    }

    interface Presenter extends BasePresenter<View> {
        void getRoomEarnList(String roomId, String accountDate ,String moneyType,String realtyId);
        void getOneProperty(String id);
    }
}
